<div class="container" style="margin-top: 40px;">
	<?php if($this->session->userdata('validated')){?>
	<div class="span3"><h2>SEPET GELECEK</h2></div>
	<div class="span7" style="padding-left: 10px;">
		<h4>Grocers near Kuzeykent(Merkez,Kastamonu)</h4>
		<table class="table table-striped">
			<thead>
				<tr>
					<th width="5%">#</th>
					<th>Market Name</th>
					<th width="20%">Properties</th>
					<th width="20%">Process</th>
				</tr>
			</thead>
			<tbody>
			<?php
			$i=1; 
			foreach ($markets->markets as $market){
			?>
				<tr>
					<td><?php echo $i;?></td>
					<td><?php echo $market->market_name;?></td>
					<td><i class="icon-shopping-cart"></i></td>
					<td>
						<a href="<?php echo base_url('market/categories/'.$market->market_id)?>"><button type="button" class="btn btn-primary">Goto Market</button></a>
					</td>
				</tr>
			<?php
			$i++;
			}
			?>
			</tbody>
		</table>
		<hr/>
		<h5>Description of Properties Icons</h5>
		<ul>
			<li><i class="icon-shopping-cart"></i> : Market support online shopping</li>
		</ul>
	</div>
	<div class="span2">
		<?php $this->load->view('ads_right');?>
	</div>
	<?php  } else { ?>
	<div class="alert alert-error">You must be signed.</div>
	<?php }?>
</div>
